<?php

use yii\helpers\Url;
use backend\models\JobType;

/* @var $this yii\web\View */
/* @var $model backend\models\JobType */

$id  = Yii::$app->getRequest()->get('id');
$url = $model->type == JobType::TYPE_JOB ? Url::to(['job-type/job']) : Url::to(['job-type/mission']);

$this->params['breadcrumbs'] = [
    ['label' => "列表", 'url' => $url],
    ['label' => "修改"],
];
?>
<?= $this->render('_form', [
    'model' => $model,
]) ?>
